import {authInstance as axios} from "./config.service";

export const signIn = (username, password, client_id) => {
    const API_DETAILS = {
        url: '/token',
        method: 'post',
        params: {grant_type: 'password'},
        data: {username, password, client_id}
    };
    return axios(API_DETAILS);
};
